<template>
  <div>
    <div class="footerArea">
      <div>
        <span class="link">友情链接:</span>
        <a href="">暂无---</a>
        <a href="https://blog.csdn.net/qq_41938120?spm=1000.2115.3001.5343"
          >我的csdn
        </a>
        <a href="https://gitee.com/CHEN____PENGFEI/projects">我的码云</a>
      </div>
      <div>
        <span class="copyright">© {{ time }} - 陈鹏飞的博客</span>
        <a href="">- 备号10086</a>
      </div>
      <div>
        <span class="power">Powered by Chen Pengfei</span>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "MyFooter",
  data() {
    return {
      time: new Date().getFullYear(),//获取今年是哪一年
    };
  },
};
</script>

<style scoped>
.footerArea {
  margin-top: 30px;
  height: 50px;
  text-align: center;
  padding-top: 20px;
  line-height: 25px;
}
.footerArea .link {
  font-size: 14px;
}
.footerArea a {
  font-size: 14px;
  text-decoration: none;
  color: #2479cc;
  margin-left: 10px;
}
.footerArea .copyright {
  font-size: 14px;
}
.footerArea .power{
    font-size: 14px;
}
</style>